<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>这是主页</title>
</head>
<body>
    <span id="loginMsg"></span>

    <h1>用户资料修改/完善</h1>
    <form id="user_form">
        <!-- 一个隐藏的标签，保存id，这样表单序列化后就有id这个属性了  -->
        <input type="hidden" id="id" name="id"/>
        <p>年龄:<input type="number" name="age" id="age"/></p>
        <p>真实姓名:<input type="text" name="name" id="name"/></p>
        <p>性别:
            <select name="sex" id="sex">
                <option value="0">女</option>
                <option value="1">男</option>
            </select>
        </p>
        <p>
            毕业学校:<input type="text" name="school" id="school"/>
        </p>

        <input type="button" value="提交修改" id="save"/>
    </form>


    <script src="../js/jquery-1.9.1.js"></script>
    <script src="../js/user.js"></script>
</body>
</html>